
const getters = {
    appid: state => state.app.appid,
    appsecret: state => state.app.appsecret,
    root: state => state.app.root,
    report: state => state.com.report,
    isloading: state => state.com.isloading,
    scrollerHeight: state => (calc) => {
        let height = state.com.scrollerHeight;
        if (calc) {
            return (height.replace('px', '') - calc) + `px`;
        } else {
            return height;
        }
    },
    tagslist: state => state.tags.tagslist,
    head_theme: state => (type) => state.them.head_theme[type],
    menu_theme: state => (type) => state.them.menu_theme[type],
    manalist: state => state.user.manalist,
    deplist: state => state.user.deplist,
    dataitemlist: state => state.user.dataitemlist,
    userinfo: state => state.user.userinfo,
    menulist: state => state.user.menulist,
    buttonlist: state => state.user.buttonlist,
    authRoutes: state => state.user.authRoutes,
    token: state => state.user.token,
}
export default getters